home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Plus SuperCD 6
/
SuperCD_6 CD.iso
/
WIN95
/
RKTOOLS
/
SCRIPTS.INF
< prev
next >
Wrap
Windows Setup INFormation
|
1995-06-03
|
4KB
|
108 lines
; scripts.INF
; This is the Setup information file to install the animated cursor editor
; Copyright (c) 1993-1995 Microsoft Corporation
[version]
LayoutFile=rklayout.inf
signature="$CHICAGO$"
SetupClass=BASE
[DestinationDirs]
Register.Copy = 17 ; LDID_INF
rklayout.copy = 17 ; LDID_INF
scriptsCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%\%scripts% ; LDID_APPS\Program Files\Resource Kit
[Optional Components]
scripts
[scripts]
OptionDesc = %scripts_Desc%
Tip = %scripts_TIP%
CopyFiles = scriptsCopyFiles, Register.Copy, rklayout.copy
AddReg = scriptsReg, scripts.install.reg, Register.AddReg
InstallType = 0 ;Manual only
IconIndex = 11 ;Default (diamond) mini-icon for dialogs
Uninstall = scripts_remove
UpdateInis = scripts.Inis
[scripts_remove]
DelFiles = scriptsCopyFiles, Register.Copy
DelReg = UnRegister.DelReg
UpdateInis = scripts.Rem.Inis
[Register.Copy]
scripts.inf
[rklayout.Copy]
rklayout.inf
[scriptsCopyFiles]
scripts.txt
automate.inf
default.inf
iniprep.inf
minbatch.inf
msnet.inf
nwnet.inf
regional.inf
userprof.inf
[scripts.Inis]
setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
setup.ini, group11,, """%shortcut_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\%scripts%,,, scripts" ;creates link
[scripts.Rem.Inis]
setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
setup.ini, group11,, """%shortcut_Desc%""" ;deletes link
[Register.AddReg]
;Create entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\scripts,DisplayName,,%uninstall_Desc%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\scripts,UninstallString,,"RunDll setupx.dll,InstallHinfSection scripts_Remove 4 scripts.INF"
[UnRegister.DelReg]
;Remove entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\scripts
[scriptsReg]
; create the long-name for "Program Files"
; Note that when you rename a long name, VFAT changes the short name from
; foobar~1 to foobar~2. To avoid this, we introduce a work around in the form of
; an intermediate rename
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
[Strings]
RKTOOLS_DESC = "Resource Kit"
scripts = "Scripts"
scripts_Desc = "Sample Batch Setup Scripts"
shortcut_Desc = "Sample Scripts for Batch Setup"
uninstall_Desc = "Sample Batch Setup Scripts"
scripts_TIP = "Sample scripts to highlight different installation scenarios using batch setup."
DSK = "Windows 95 Resource Kit"
; Directory names - note that that short versions must match the truncated
; 8 char names for the long versions, or else there will be problems.
; also need to put the short versions in the [DestinationDirs] section above
; Used by wordpad, hypertrm, backup, paint, & MSN
Program_Files = "Program Files"
PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1"
OEM_PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
ResourceKit = "Resource Kit"
RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1"
OEM_RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1" - in OEM codepage (not Ansi)